package org.jwt.oauth.controller;

import java.util.Map;

import org.jwt.oauth.tools.FusionJwtTools;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

	@GetMapping("test")
	public ResponseEntity<Object> test(){
		Map<String, Object> loginUserInfo = FusionJwtTools.getLoginUserInfo();
		return ResponseEntity.ok(loginUserInfo);
	}
}
